package com.costner.kids;

import java.util.ArrayList;

import org.andengine.engine.Engine;
import org.andengine.ui.activity.BaseGameActivity;

public class WordManager {

	
	private BaseGameActivity activity;
	private Engine engine;
	private ArrayList<String> words = new ArrayList<String>();
	private String word;
	
	public WordManager(BaseGameActivity activity, Engine engine) {
		this.activity = activity;
		this.engine = engine;
	}
	
	public void initWords() {
		words.add("hus");
		words.add("epli");
		words.add("buxur");
		words.add("api");
		words.add("simi");
		words.add("hufa");
		words.add("auga");
		words.add("eyra");
	}
	
	public String getRandomWord() {
		return words.get((int) (Math.random() * words.size()));
	}
	
}
